﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace OnlineManagement.Common
{
   public class PubConstant
    {
       /// <summary>
       /// 设置数据缓存时间，单位分钟
       /// </summary>
       public static readonly string DataCacheMins = "DataCacheMins";

       public static readonly string CacheHogBaseInfoName = "hogBaseInfo";

       public static readonly string CacheHogPurchaseDataName = "HogPurchaseCache";

       public static readonly string HoggeryIdCookieName = "hoggeryId";


        #region error message
       /// <summary>
       /// 您提交的数据中存在空值或者无效的数据，请重新输入.
       /// </summary>
       public static readonly string ServerError = "服务器出现错误，请稍后再试。";
        #endregion

       /// <summary>
       ///~/userControl/{0}.ascx
       /// </summary>
       public static readonly string UserControlPath = "~/userControl/{0}.ascx";

       /// <summary>
       /// empty string to show
       /// </summary>
       public static readonly string EmptyString = "--";

        #region sow actions
        public static readonly string FaQing ="发情登记";
        public static readonly string ZhuanLan = "转栏登记";
        #endregion

        #region 系统角色
       /// <summary>
       /// 系统超级管理员
       /// </summary>
        public static readonly string SuperAdmin = "SuperAdmin";
       /// <summary>
       /// 系统普通用户
       /// </summary>
        public static readonly string OnlineUser = "OnlineUser";
        #endregion
    }
}
